package com.lab02.spring.firstpage.exceptions;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: bsceran
 * Date: 5/24/13
 * Time: 2:52 PM
 * To change this template use File | Settings | File Templates.
 */
public class ReservationNotAvailable extends RuntimeException {
    private String courtName;
    private Date date;
    private int hour;

    public ReservationNotAvailable(String courtName, Date date, int hour) {
        this.courtName = courtName;
        this.date = date;
        this.hour = hour;
    }

    public String getCourtName() {
        return courtName;
    }

    public Date getDate() {
        return date;
    }

    public int getHour() {
        return hour;
    }
}
